package org.jeecg.modules.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.biz.entity.EventExchange;

/**
 *
 * 闪兑任务mapper接口
 *
 */
public interface EventExchangeMapper extends BaseMapper<EventExchange> {
    @Select("select * from event_exchange order by timestamp desc limit 0,1")
    EventExchange getLatestOne();
}
